package com.future.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChatMessage {
    @ApiModelProperty("消息id")
    private Long Id;
    @ApiModelProperty("所属聊天室Id")
    private Long chatRoomId;
    @ApiModelProperty("发送者id")
    private Long senderId;
    @ApiModelProperty("消息内容")
    private String content;
    @ApiModelProperty("消息类型 1文本/2图片")
    private int messageType;
    @ApiModelProperty("发送时间")
    private Date sendTime;
}
